package com.xiaoxin.xinlikesystem.model.dto.blog;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @version 1.0
 * @Author 武小新
 * @Date 2025/5/12 11:31
 *
 * 添加博客
 */
@Data
public class BlogAddRequest implements Serializable {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 博客题目
     */
    private String title;

    /**
     * 封面图
     */
    private String coverImg;

    /**
     * 博客内容
     */
    private String content;

    /**
     * 点赞数量
     */
    private String userRole;

    @Serial
    private static final long serialVersionUID = 1L;
}
